<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
    <view class="picker">
    </view>
</picker>